package mappers;

import model.Document;

import java.util.List;

public interface DocumentMapper {
    public void insertDocument(Document document);
    public Document getDocumentById(int id);
    public List<Document> getDocumentsByPermission(int permission);
    public List<Document> getDocumentsByUserId(int id);
    public void deleteDocumentById(int id);
    public void updateDocument(Document document);
    public List<Document> getAllDocuments();
    public int getCountOfDocuments();
}
